package demo2;

public class Animal {
    public String name = "小米";
    public int age;

    public void eat(){
        System.out.println(this.name + "吃饭");
    }
}
